F# tuple get item

60

F# tuple get item -

// For a tuple that contains only two members
let wifeName = fst myWife;
let wifeAge = snd myWife;

F# tuple get item -

//For longer tuples
let _, age = myWife;;
let name, age = myWife;;

Comments

Submit
0 Comments